package org.karelun.gef.model;

import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.swt.graphics.RGB;

public class PackageModel extends Node{

	private static final long serialVersionUID = 1L;
	
	private static int i=0;
	
	private String packageName="Package"; //$NON-NLS-1$
	
	public PackageModel(){
		super();
		if(i>0)
			packageName="Package"+String.valueOf(i); //$NON-NLS-1$
		setText(packageName);
		i++;
		setSize(new Dimension(80,80));
		
		String id=String.valueOf(System.currentTimeMillis());
        setId(id);
        
        setForeColor(new RGB(0,0,0));
        setBgColor(new RGB(255, 255, 206));
	}
}
